import React from 'react'

function Handler() {
  function handleClick() {
    console.log('你好呀~~~~')
  }
  return (
    <div>
      <div>我是函数式组件</div>
      <button onClick={handleClick}>点击</button>
    </div>
  )
}

export default Handler